package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.SystemMessage;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.mapper.SystemMessageMapper;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface ISystemMessageService {

    void insert(SystemMessage systemMessage);

    List<SystemMessage> selectAll(int state);

    void delete(Long systemMessageId);

    void changeState(int state, Long systemMessageId);
}
